#ifndef REPLACES_H
#define REPLACES_H
#include "ado/stdafx.h"
#include <iostream>
#include <cstdarg>
#include <map>
#include <iterator>
#include "standard/DBConfig.h"
#include "Database.h"



class   ADOLIB1_API Replaces : public Database
{
public:
    static Replaces* init(void *db);
    Replaces(void *db);
    Replaces* replacep(std::map<std::string, std::string> setstr);
    int create();
    ~Replaces();
private:
    std::string m_classname;
    std::map<std::string, std::string> m_setstr;
    
    static Replaces *_init;
    class CGarbo {public: ~CGarbo(){if (Replaces::_init) delete Replaces::_init;}};
    static CGarbo Garbo;  
};

#endif
